package com.qiantu.api.entity;

import java.util.List;

public class ControllerBrandProtocolBean {

    private int brandId;
    private String brandName;
    private int brandValue;
    private List<ProtocolBean> protocols;

    public int getBrandId() {
        return brandId;
    }

    public void setBrandId(int brandId) {
        this.brandId = brandId;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public int getBrandValue() {
        return brandValue;
    }

    public void setBrandValue(int brandValue) {
        this.brandValue = brandValue;
    }

    public List<ProtocolBean> getProtocols() {
        return protocols;
    }

    public void setProtocols(List<ProtocolBean> protocols) {
        this.protocols = protocols;
    }

    public static class ProtocolBean {
        private int brandId;
        private int value;
        private String name;
        private int id;

        public int getBrandId() {
            return brandId;
        }

        public void setBrandId(int brandId) {
            this.brandId = brandId;
        }

        public int getValue() {
            return value;
        }

        public void setValue(int value) {
            this.value = value;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }


        //为了wheelview显示
        @Override
        public String toString() {
            return name;
        }
    }

    //为了wheelview显示
    @Override
    public String toString() {
        return brandName;
    }
}
